/**
 * Created by qizhang on 5/1/16.
 * 页面入口文件
 */

import React from 'react'
import ReactDom from 'react-dom'
import route from './route'
import './styles/style.scss'
import createStore from './store/createStore'
import { Provider } from 'react-redux'

// ========================================================
// Store Instantiation
// ========================================================
const initialState = window.___INITIAL_STATE__
const store = createStore(initialState)

ReactDom.render(
    <Provider store={store}>{route}</Provider>,
    document.getElementById('app'));







